Skip to content

Add sourced physical material profiles, full surface associations and guarded library export - #9

Closed
selun3 wants to merge 2 commits into
assets/render-native-admissionfrom
assets/material-physical-properties
Closed

selun3 wants to merge 2 commits into
assets/render-native-admissionfrom
assets/material-physical-properties

Conversation

@selun3

@selun3 selun3 commented Oct 22, 2026 •

Copy link
Copy Markdown
Owner

Closed as superseded on 2026-11-02 at the owner's request. Personal #11 at aea20b0115c402209fb2149558830e95f406ac0e contains this PR's complete published head (GitHub ancestry comparison verified). The branch, commits and evidence are preserved. Current Render repairs and acceptance continue in tangency-labs/solidcraft#6201. This closure is not a merge, feature-completeness claim or validation of newer source.


Purpose and ancestry

Implement the owner's physical-material data request as a sourced, reproducible resource package, separate from visual PBR appearances and from the concurrent renderer implementation. This draft is stacked on #6 (6d79d44fa403581e4508d7c9df5e163ff85085bf). The two commits recover the previously unpublished physical-data work and extend it to every authored PBR surface.

Head: 32eda0237d0ccfeea4206f0c0d158851ed3141da. No upstream update, model edit, body assignment or renderer-branch rewrite is included.

Delivered data

Collection Actual coverage
Named reference materials 59 profiles, 416 numerical records, 46 quantity types
Attributed primary references 50 source records, with URLs, locators, review notes and retrieval dates
Authored PBR surface associations 48/48 have explicit physical-reference candidates and role rules
Material concept specifications 600/600 have identity requirements, physical roles and unknown-data requirements
Concepts with numerical reference candidates 306; candidates can be grade, substrate, constituent or explicitly labeled comparison references
Concepts requiring a selected recipe/grade 294; no unrelated numerical material is substituted
Native schema-1 projection 59 envelopes: 48 nonempty partial cards, 11 extended-only records; 113 native property blocks
Scalar-density references eligible for native material creation 46; the remaining 13 do not acquire an invented density

These association counts are not claims of engineering completeness. A coating is not its substrate, feedstock is not a printed orthotropic part, fibre is not a cured laminate, and granular bulk density is not grain density.

The profiles cover metals/solders, engineering polymers, additive-manufacturing specimens/feedstock, woods, cork/MDF, glass/ceramics, PCB/composite constituents, resins/coatings and terrestrial lunar simulants. The extension adds named PMMA sheet, PVC stock, Kevlar 49 fibre, cured epoxy, UV epoxy and specific alkyd/stoving/acrylic coating references.

Numerical records preserve original units, SI conversion, point/range/bound meaning, source, test conditions, direction and explicit unknowns. Mechanical, thermal, electrical, optical, moisture, hardness and granular quantities remain semantically separate. No source tables, PDFs, artwork or proprietary CAD outputs are bundled.

Implementation

  • Authoritative profiles.json, sources.json, quantities.json and bindings.json; deterministic native-cards.json and coverage exports.
  • Conservative native schema-1 projection: unsupported electrical, hardness, ranges, directional/curve data remains in extended profiles and is listed in not_projected, never silently discarded.
  • Corrected native condition projection to preserve each property's cure/state. Isotropic E/Poisson blocks refuse mismatched source, temperature, moisture, strain rate, state and direction.
  • Read-only CLI helpers for validation, surface/concept resolution and explicit per-profile command planning.
  • export_library.py prepares an acknowledged selection of supported density references. With a trusted modern CLI it first checks explicit physical-card and library-v2 support, then uses a fresh geometry-free document and native serialization/inspection. It verifies every card/source/condition/density and performs a separate-process cold reopen/re-export. The native application owns canonical content revisions; Python does not invent them.
  • The exporter never runs material.assign, overwrites an existing output, alters a live document, assigns an appearance or substitutes midpoint density. An old scalar-only executable refuses before any output or material mutation.
  • Integration into the existing source-stable authoring validation runner; exact tool/data attributions and English handoff documentation.

Validation actually executed on Pegasus

All source files were fingerprinted and remained unchanged during the final checks.

Check Result
Physical data, conditions and exporter regressions 51 passed, 0 failed
Native read-only card admission using an existing trusted CLI 59 envelopes passed; 48 nonempty and 11 explicitly not-ready extended-only projections
Native hostile cases 4 refused: unstable elasticity, unknown source, duplicate property and negative density
Combined authoring gate PASS, including catalog/prepared-resource checks, physical hooks, 240 PNG pixel reproduction and 24 HDR encoded reproduction
Rust formatting PASS
Exact asset attribution 739 files, all attributed
Icon standards 17 tests passed
Catalog ordering, dependency layers and licence inventory PASS
Actual installed legacy-CLI export attempt Refused as required, without creating outputs or running material mutations
Closeout wrapper 9/9 stages passed, source inputs unchanged
Git whitespace and scoped staging PASS

Local native evidence: target/physical-material-review/20261022T110344.616884Z/report.json.
Local final gate evidence: target/physical-material-review/closeout-20261022T110745.204404Z/report.json.
Reports, caches and generated review outputs are deliberately not committed.

Explicit remaining limits

This is not 600 fully populated or certified engineering materials. There are 294 unresolved recipe/grade concepts, and named profiles can retain unknown properties or conditions. Some coating references expose only qualified temperature/thickness facts and cannot supply cured mass density or stiffness.

The available Pegasus CLI validates standalone cards but lacks physical-card persistence. Its actual refusal was verified. The modern-runtime successful library export/cold-reopen path has not been executed, and no material was assigned to a live body. The exporter is implemented and covered by regression tests, not presented as an executed modern-runtime integration result.

Full aggregate cargo xtask ci, final runtime library/UI integration and body-level engineering acceptance remain separate; this PR stays draft. No solver accuracy, flight qualification, design allowable or universal isotropic behavior is claimed. All original render images/maps and Rust production code remain unchanged.

Entry points

Related: #6 native resource admission, #4 authored PBR/HDR pack, #3 catalog planning, #7 parallel runtime integration. New curation and tooling follow clean-room development and MIT OR Apache-2.0 project licensing; publisher numerical facts remain attributed without claiming publisher data is relicensed.

…ions

Recover the owner-requested physical-data work: 51 named profiles, 373 sourced property records, explicit specifications for 600 concepts and 48 surfaces, loss-aware native card projections and validators. Verified with the existing native card API; no live document assignment or complete effective-material claim.
… library export

Add eight sourced profiles for 59 profiles and 416 numerical records from 50 sources. All 48 PBR surfaces have explicit physical-reference candidates; 600 concepts retain role and unknown-data specifications. Preserve per-property cure states and reject incompatible elastic conditions. Add source-stable, capability-checked native-v2 export tooling without body assignment or silent scalar fallback. Pegasus: 51 Python regressions, 59 native card envelopes, four hostile refusals and nine closeout stages pass. Modern persistence and aggregate workspace CI remain unverified.
@selun3 selun3 closed this Nov 2, 2026
selun3 pushed a commit that referenced this pull request Nov 5, 2026
…ng the stack (tangency-labs#11893)

A 2D TRIMMED_CURVE in a pcurve read its basis straight through read_curve,
past the depth check that only the cached entry points (curve_in, curve_2d,
surface_in) made. A trimmed curve whose basis is itself, or a loop of two,
recursed until the stack overflowed and the app closed.

The depth check now sits in read_curve and read_surface, which every curve
and surface read passes through, so any chain of references, a cycle
included, ends at MAX_GEOM_DEPTH with an error that names the entity:
"curve #9: definitions nested more than 12 deep, or referring to
themselves". The other nested entities (surface, seam, intersection and
bounded surface curves, pcurves, 3D offset curves, offset, trimmed,
revolution and extrusion surfaces) already went through the checked entry
points; they now share the one check.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant